{extend name="base/container" /}
{block name="main"}
<div class="layui-card-box">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm6  layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header line-center">提现总计</div>
                <div class="layui-card-body layuiadmin-card-list">
                    <p class="layuiadmin-big-font  line-center">{$data.amount}</p>
                </div>
            </div>
        </div>
    </div>
</div>
<table class="layui-table" id="mailTable" lay-filter="extTb">
    <thead>
        <tr>
            <th lay-data="{field:'xh', type:'numbers'}">序号</th>
            <th lay-data="{field:'id'}">用户</th>
            <th lay-data="{field:'amount', templet:function(d){return layui.xls_format.format_amount(d.amount);}}">金额</th>
            <th lay-data="{field:'time', sort: true, templet:function(d){return layui.xls_format.format_time(d.time);}}">申请时间</th>
            <!--<th lay-data="{field:'htime', sort: true, templet:function(d){return layui.xls_format.format_time(d.htime);}}">处理时间</th>-->
            <!-- <th lay-data="{field:'status', templet:function(d){return layui.xls_format.format_time(d.status);}}">状态</th> -->
        </tr> 
    </thead>
</table>
<script type="text/javascript">
    layui.use(["table"],function(){
        var table = layui.table;
        //转换静态表格,table.init(filter, options)
        table.init('extTb', {
            url:'{$url}',
            page:true,
            //count: count,
            limit: 5, //注意：请务必确保 limit 参数（默认：10）是与你服务端限定的数据条数一致
            limits: [5,10,20],
            id: 'extReload' // 要重载的表格ID
        }); 
    })
</script>
{/block}

{block name="footer"}
{__block__}
{/block}